package com.hundsun.cprs.yyt.service.dilivery.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hundsun.cprs.yyt.service.dilivery.domain.DeliveryLog;
import com.hundsun.cprs.yyt.service.dilivery.domain.query.DeliveryLogQuery;
import com.hundsun.cprs.yyt.service.dilivery.dto.DeliveryLogInfo;

public interface DeliveryLogDao {
    int deleteByPrimaryKey(Long id);
    
    int deleleAll();

    int insert(DeliveryLog record);

    int insertSelective(DeliveryLog record);
    
    int insertBatch(@Param("recordList") List<DeliveryLog> recordList);

    DeliveryLog selectByPrimaryKey(Long id);
    
    List<DeliveryLogInfo> queryByConditon(DeliveryLogQuery query);

    int updateByPrimaryKeySelective(DeliveryLog record);

    int updateByPrimaryKey(DeliveryLog record);
    
    int updateStatusByBatch(@Param("deliveryLogs") List<DeliveryLogInfo> deliveryLogs,@Param("status") Integer updateStatus);
}